/*
编写 : Hexh
时间 : 2012-11-27 14:38:41
*/
using System;
using System.Collections.Generic;
using FSBS.Core.Entity;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;

namespace FSBS.Facade
{
	/// <summary>
	///	 the interface of IFsbsQmTrlsFacade
	/// </summary>
	public interface IFsbsQmTrlsFacade : IDomainFacade
	{

		FsbsQmTrls Get(string id);

		FsbsQmTrls Load(string id);

		void SaveOrUpdate(FsbsQmTrls entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<FsbsQmTrls> GetAll();

		IList<FsbsQmTrls> GetPlist(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

	}
}
